﻿# coding: utf-8

import wx
import wx.py as py

class wxPanelPythonShell(wx.Panel):
    def __init__(self, parent, id):
        wx.Panel.__init__(self, parent, id)
        
        self._pyShell = py.shell.Shell(self, wx.NewId(), introText = 'Welcome to world editor console')
        sizer = wx.BoxSizer(wx.VERTICAL)
        sizer.Add(self._pyShell, 1, wx.EXPAND)
        self.SetSizer(sizer)
